<?php
$v_worktype_id = "";
if(isset($_REQUEST['hdn_worktype_id'])){	
	$v_worktype_id = $_REQUEST['hdn_worktype_id'];
}
$v_worktype_order =0;
if(isset($_REQUEST['hdn_max_order'])){	
	$v_worktype_order = intval($_REQUEST['hdn_max_order'])+1;
}
if(_is_sqlserver()){
	$sql = "Exec ONEGATE_WorktypeGetSingle  ";
	$sql = $sql ."'". $v_worktype_id . "'" ;
	$ado_conn->SetFetchMode(ADODB_FETCH_ASSOC);
	$arr_single_worktype = $ado_conn->GetRow($sql);
	//var_dump($arr_single_worktype);
}?>
